package edu.ncst.baseweb.controller.web;

import cn.wintersun.basecommon.common.Result;
import edu.ncst.baseweb.dao.web.LabDownload;
import edu.ncst.baseweb.service.intrer.web.LabDownloadService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
@RequestMapping(value = "/web/lab_download")
public class LabDownloadController {
    @Autowired
    private LabDownloadService LabDownloadService;

    //列表
    @RequestMapping(value = "list",method = RequestMethod.GET)
    public Result<List<LabDownload>> list(){
        System.out.println("这是资料下载的信息");
        return LabDownloadService.list();
    }
}